﻿/*--------------------------------------------*
* div垂直居中
*---------------------------------------------*
* 设置三层div,内容放在最里层
* 从外到内分别实现cVlay1,cVlay2,cVlay3三个类
*--------------------------------------------*/
.divCvFd1 { display: table; overflow: hidden; *position:relative;}
.divCvFd2 { vertical-align: middle; display: table-cell; *position:absolute;*top:50%;}
.divCvFd3 { *position:relative;*top:-50%;left:-50%;}